package com.smile.frame.api.es.enums;

import com.smile.frame.common.exception.ErrorCodeEnumInterface;
import lombok.Getter;

/**
 * @author LGC
 * @date 2021/12/3 11:13
 */
@Getter
public enum EsProductErrorCode implements ErrorCodeEnumInterface {
    /**
     *
     */
    PRODUCT_DOCUMENT_BATCH_INSERT_ERROR(1000, "插入产品文档失败"),
    ;

    public final Integer code;
    public final String msg;

    EsProductErrorCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
